package com.i2silly.wxbot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: wx-bot
 * @description：机器人配置信息
 * @author: i2silly
 * @date: 2020年11月21日 14:34:45
 */
@Component
@ConfigurationProperties(prefix="robot")
public class RobotConfiguration {

    private String userId;

    private String botWechatId;

    private String name;

    private String wxid;

    private String wxCode;

    private boolean autoResponse;

    private boolean recommend;

    private int time;

    private String filter;

    private int firstInit;

    private String command;

    private String wake;

    public boolean isAutoResponse() {
        return autoResponse;
    }

    public void setAutoResponse(boolean autoResponse) {
        this.autoResponse = autoResponse;
    }

    public boolean isRecommend() {
        return recommend;
    }

    public void setRecommend(boolean recommend) {
        this.recommend = recommend;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBotWechatId() {
        return botWechatId;
    }

    public void setBotWechatId(String botWechatId) {
        this.botWechatId = botWechatId;
    }

    public String getWxid() {
        return wxid;
    }

    public void setWxid(String wxid) {
        this.wxid = wxid;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

    public String getFilter() {
        return filter;
    }

    public void setFilter(String filter) {
        this.filter = filter;
    }

    public int getFirstInit() {
        return firstInit;
    }

    public void setFirstInit(int firstInit) {
        this.firstInit = firstInit;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getWake() {
        return wake;
    }

    public void setWake(String wake) {
        this.wake = wake;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
